package com.qlp.start.Utils;

import java.util.Scanner;

/**
 * @author itoutsource.cz10
 */
public class test {

    public static void main(String[] args) {
        int i=0;
        while(i<4){
            Scanner scanner=new Scanner(System.in);
            System.out.println(".......... y?n");
            String str=scanner.nextLine();
            if(!str.equals("y")){
                i++;
            }
            System.out.println("...............");
        }
        System.out.println("想要重来吗？ y?n");
        Scanner last=new Scanner(System.in);
        String strLast=last.nextLine();
        if(strLast.equals("y")){
            System.out.println("Sorry!");
        }else{
            System.out.println("Happy every day!");
        }
    }
}
